package com.daiyang.config;

import com.daiyang.model.Student;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SpringConfig {
    @Bean
    public Student student() {
        return new Student(1001, "zhangsan", 18);
    }
}
